package database.domain;

public class Relation {
    private Integer user_id;
    private String user_name;
    private Integer friend_id;
    private String friend_name;
    private String group_name;

    public Relation(){

    }
    public Relation(Integer user_id, String user_name, Integer friend_id, String friend_name, String group_name) {
        this.user_id = user_id;
        this.user_name = user_name;
        this.friend_id = friend_id;
        this.friend_name = friend_name;
        this.group_name = group_name;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public String getUser_name() {
        return user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    public int getFriend_id() {
        return friend_id;
    }

    public void setFriend_id(Integer friend_id) {
        this.friend_id = friend_id;
    }

    public String getFriend_name() {
        return friend_name;
    }

    public void setFriend_name(String friend_name) {
        this.friend_name = friend_name;
    }

    public String getGroup_name() {
        return group_name;
    }

    public void setGroup_name(String group_name) {
        this.group_name = group_name;
    }

    @Override
    public String toString() {
        return "Relation{" +
                "user_id=" + user_id +
                ", user_name='" + user_name + '\'' +
                ", friend_id=" + friend_id +
                ", friend_name='" + friend_name + '\'' +
                ", group_name='" + group_name + '\'' +
                '}';
    }
}
